﻿@model SoftHotel.Models.Promocion

@{
    ViewBag.Title = "Details";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Details</h2>

<table id="MainContent_Table1" rules="none" style="border-color: Black; width: 900px; margin-bottom: 0px;">
	<tbody><tr>
	  <td style="width: 20px;"></td>
	  <td style="font-weight: bold;">Sede </td>
	  <td> 
           @Html.DisplayFor(model => model.idSede)
        
      </td>
	  <td style="font-weight: bold;">Tipo promocion </td>
	  <td><div class="editor-field">
           @Html.DisplayFor(model => model.tipo)
           
        </div></td>
	</tr><tr>
	  <td style="width: 20px;"></td>
	  <td style="font-weight: bold;">Fecha Inicio </td>
	  <td><div class="editor-field">
            @Html.DisplayFor(model => model.fecha_ini)
           
        </div> </td>
	  <td style="font-weight: bold;">Fecha Fin </td>
	  <td><div class="editor-field">
             @Html.DisplayFor(model => model.fecha_fin)
           
        </div></td>
	</tr>
	<tr>
	  <td style="width: 20px;"></td>
	  <td style="font-weight: bold;">Cantidad de dias (solo tipo num. dias)</td>
	  <td><div class="editor-field">
             @Html.DisplayFor(model => model.cant_dias)
           
        </div></td>
	  <td style="font-weight: bold;">Porcentaje</td>
	  <td><div class="editor-field">
        @Html.DisplayFor(model => model.porcentaje)
          </div></td>
	</tr>
	<tr>
	  <td style="width: 20px;"></td>
	  <td style="font-weight: bold;"> </td>
	  <td></td>
	  <td style="font-weight: bold; width: 145px;" align="left">&nbsp;</td>
	  <td style="width: 300px;">&nbsp;</td>
	</tr>
	 
</tbody></table>


<fieldset>
    <legend>Descuentos realizados</legend>

    <div id="box" class="data" style="visibility:visible;">
                   @* Section to display partial forms *@ 
                   @Html.Action("_vistaParcial", new { id = Model.idPromocion })
                </div>


</fieldset>
<p>
  
    @Html.ActionLink("Volver", "Index")
</p>
